package com.fc.happyteam.dto.sku;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by futurecreative on 2017/7/21.
 */
@JsonSerialize
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SkuDto {
    /**
     * boat ID
     */
    private Long id;

    /**
     * 产品名
     */
    private String name;

    /**
     * description
     */
    private String description;

    /**
     * 产品缩略图url
     */
    private String thumb;

    /**
     * 所有者厂商编号
     */
    private Long owner;

    /**
     * 折扣
     */
    private BigDecimal discount;

    /**
     * 热度、赞数量
     */
    private int likes;

    /**
     * 状态：0-失效，1-有效
     */
    private int status;

    /**
     * 产品图主片URL
     */
    private String mainImg;

    /**
     * 主图片宽度
     */
    private String imgWidth;

    /**
     * 主图片高度
     */
    private String imgHeight;


    /**
     * 创建日期
     */
    private int createDate;

    /**
     * 更改日期
     */
    private int updateDate;

    /**
     * 生效日期
     */
    private int effectiveDate;

    /**
     * 失效日期
     */
    private int expiresDate;

    /**
     * 每小时价格折合
     */
    private BigDecimal pricePerHour;

    /**
     * 价格
     */
    private List<SkuPriceDto> priceList;

    private List<SkuAttributeDto> attributeList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public Long getOwner() {
        return owner;
    }

    public void setOwner(Long owner) {
        this.owner = owner;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public int getLikes() {
        return likes;
    }

    public void setLikes(int likes) {
        this.likes = likes;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMainImg() {
        return mainImg;
    }

    public void setMainImg(String mainImg) {
        this.mainImg = mainImg;
    }

    public String getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(String imgWidth) {
        this.imgWidth = imgWidth;
    }

    public String getImgHeight() {
        return imgHeight;
    }

    public void setImgHeight(String imgHeight) {
        this.imgHeight = imgHeight;
    }

    public int getCreateDate() {
        return createDate;
    }

    public void setCreateDate(int createDate) {
        this.createDate = createDate;
    }

    public int getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(int updateDate) {
        this.updateDate = updateDate;
    }

    public int getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(int effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public int getExpiresDate() {
        return expiresDate;
    }

    public void setExpiresDate(int expiresDate) {
        this.expiresDate = expiresDate;
    }

    public BigDecimal getPricePerHour() {
        return pricePerHour;
    }

    public void setPricePerHour(BigDecimal pricePerHour) {
        this.pricePerHour = pricePerHour;
    }

    public List<SkuPriceDto> getPriceList() {
        return priceList;
    }

    public void setPriceList(List<SkuPriceDto> priceList) {
        this.priceList = priceList;
    }

    public List<SkuAttributeDto> getAttributeList() {
        return attributeList;
    }

    public void setAttributeList(List<SkuAttributeDto> attributeList) {
        this.attributeList = attributeList;
    }
}
